package com.learn.training.multithread.chapter6.minchapter1;

import java.util.List;

class Data {
    List<String> names;
    void set(String[] names) {
        this.names = List.of(names);
    }
    List<String> get() {
        return this.names;
    }
}
